﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Dangnhap.aspx.cs" Inherits="admin_Dangnhap" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
		<title runat="server" id="lblTitle"></title>
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">		
        <link href="Css/Login.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript"  src="JS/LoginScript.js"></script>			
        <script type="text/javascript"  src="JS/FromScript.js"></script>
           <script type="text/javascript"  src="js/Calendar.js"></script>
	</head>
	<body style="margin:0px 0px 0px 0px;background-color:#808080;" onload="ShowTable();">
		<form id="Form2" method="post" runat="server">
			<table id="tbView" cellspacing="0" cellpadding="0" align="center" style="width:1003px;height:550px;" border="0">
				<tr>
					<td valign="middle" align="center" style="width:100%;height:100%;">
					    <table style="width:358px;height:35px;" cellpadding="0" cellspacing="0" border="0" > 
	                        <tr>
		                        <td style="width:9px;height:35px;background-image:url(images/Dialog/top-left.png);"></td>
		                        <td align="center" style="background-image:url(images/Dialog/top-mid.png);height:35px !important;width:340;" valign="middle" >
			                        <asp:label id="lblPageTitle" Runat="server" CssClass="cssTitleLogin" Text="ĐĂNG NHẬP CRM" />
		                        </td>
		                        <td valign="top" style="width:7px;height:35px;background-image:url(images/Dialog/top-right.png);background-position:right;"></td>
	                        </tr>
	                        <tr>
		                        <td style="background-image:url(images/Dialog/left.png);width:7px;"></td>
		                        <td style="background-color:white;width:340;height:35px;">
		                            <table cellspacing="0" cellpadding="1" align="center" border="0" style="width:340px;">
	                                    <tr>
		                                    <td colspan="4" valign="top" style="height:3px;"></td>
	                                    </tr>
	                                    <tr>
		                                    <td colspan="4" valign="top" align="left" style="height:6px;">
		                                        <asp:validationsummary id="ValidationSummary1" CssClass="cssManField" runat="server" />
		                                    </td>
	                                    </tr>
	                                    <tr>
		                                    <td align="right" style="width:145px;">
		                                        <asp:label id="lbl_username" CssClass="cssLabel" runat="server" Text="<U>T</U>ên đăng nhập:" />
		                                    </td>
		                                    <td style="width:5px;"></td>
		                                    <td style="width:175px;" align="left">
		                                        <asp:textbox id="txtUserName" AccessKey="t"    runat="server" MaxLength="40" Width="96%"/>
		                                    </td>
		                                    <td align="center" style="width:15px;">
		                                        <asp:requiredfieldvalidator id="rqfUserName" runat="server" ErrorMessage="Tên đăng nhập không được rỗng" ControlToValidate="txtUserName">*</asp:requiredfieldvalidator>
		                                        <asp:CustomValidator ID="ctvLogin" runat="server" ErrorMessage="Cặp tên/mật khẩu đăng nhập không hợp lệ!">*</asp:CustomValidator>
		                                    </td>
	                                    </tr>
	                                    <tr>
		                                    <td align="right" style="width:145px;">
		                                        <asp:label id="lbl_password" Runat="server" CssClass="cssLabel" Text="<U>M</U>ật khẩu:" />
		                                    </td>
		                                    <td style="width:5px;"></td>
		                                    <td style="width:175px;" align="left">
		                                        <asp:textbox id="txtPassWord" AccessKey="m"   runat="server" MaxLength="40" Width="96%" TextMode="Password" />
				                            </td>
		                                    <td align="center" style="width:15px;">
		                                         <asp:requiredfieldvalidator id="rqfPassWord" runat="server" ErrorMessage="Mật khẩu không được rỗng" ControlToValidate="txtPassWord">*</asp:requiredfieldvalidator>				                                 
				                            </td>
	                                    </tr>
	                                    <tr>
		                                    <td align="right">
		                                        <asp:label id="Label1" Runat="server" CssClass="cssLabel" Text="<U>G</U>hi nhớ mật khẩu:" />
		                                    </td>
		                                    <td colspan="2" style="padding-left:4px;" align="left">
		                                        <asp:checkbox id="cbxRememberPassword" AccessKey="g" CssClass="cssCheckbox" runat="server" />
		                                    </td>
		                                    <td align="center"></td>
		                                </tr>
		                                <tr>		                                   
		                                    <td align="right" colspan="4" style="padding-right:5px;">
		                                        <asp:button id="btnLogin" accessKey="l" Width="98px" runat="server" Text="Đăng nhập(L)" CssClass="cssButton" OnClick="btnLogin_Click" />&nbsp;
		                                        <asp:button id="btnReset" accessKey="r" Width="98px" runat="server" 
                                                    Text="Đặt lại(r)" CssClass="cssButton" OnClick="btnReset_Click" 
                                                    CausesValidation="False" />
		                                    </td>
	                                    </tr>
	                                    <tr>
		                                    <td colspan="4" valign="top" style="height:3px;"></td>
	                                    </tr>
	                                    <tr>
		                                    <td colspan="4" align="center" valign="middle" style="height:34px;background-color:#dddddd;">
		                                        Copyright © 2009 - Designed by VINAVICO Infortech.,JSC  
		                                    </td>
	                                    </tr>
                                        <tr>
		                                    <td colspan="4" align="right" valign="middle" style="background-color:#dddddd;">
		                                        Build Version: 2.2.270313
		                                    </td>
	                                    </tr>
                                    </table>
		                        </td>
		                        <td style="background-image:url(images/Dialog/right.png);background-position:right;width:7px;"></td>
	                        </tr>
	                        <tr>
	                            <td style="width:9px;height:7px;background-image:url(images/Dialog/bottom-left.png);"></td>
		                        <td style="background-image:url(images/Dialog/bottom-mid.png);width:340;"></td>
		                        <td style="width:9px;height:7px;background-image:url(images/Dialog/bottom-right.png);"></td>
	                        </tr>
                        </table>
                    </td>
				</tr>
			</table>
		</form>
	</body>
</html>